build: re-create tests/ostree-symlink-stamp if Makefile changes
authorSimon McVittie <smcv@debian.org>
Sun, 12 Jun 2016 13:32:51 +0000 (09:32 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 13 Jun 2016 00:23:04 +0000 (00:23 +0000)
The filename of the real ostree executable could be either .libs/ostree
or .libs/lt-ostree.

Signed-off-by: Simon McVittie <smcv@debian.org>
Closes: #337
Approved by: cgwalters

Makefile-tests.am

index 88618c4680dffee4aef5f30f6fb78d698b41f4d7..e5cf9554aaadcbc89f2f8f421187e26173000d56 100644 (file)
@@ -244,7 +244,7 @@ tests/libreaddir-rand.so: Makefile
 ALL_LOCAL_RULES += tests/libreaddir-rand.so
 CLEANFILES += tests/libreaddir-rand.so tests/ostree-symlink-stamp tests/ostree
 
-tests/ostree-symlink-stamp:
+tests/ostree-symlink-stamp: Makefile
        @real_bin=`cd $(top_builddir) && libtool --mode=execute echo ostree`; \
        ln -sf "$${real_bin}" tests/ostree; \
        touch $@